﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMQLCHH.DTO
{
    public class KhachHangDTO
    {
        private string _makhachhang;
        private string _tenkhachhang;
        private string _diachi;
        private string _sodienthoai;
        private string _email;
        private int _loaikhachhang;
        private string _masothue;
        private string _ghichu;
        private int _trangthai;
        private DateTime _ngaylap;
        private int _phai;

        #region Thuộc tính

        public string Makhachhang
        {
            get { return _makhachhang; }
            set { _makhachhang = value; }
        }

        public string Tenkhachhang
        {
            get { return _tenkhachhang; }
            set { _tenkhachhang = value; }
        }

        public string Diachi
        {
            get { return _diachi; }
            set { _diachi = value; }
        }

        public string Sodienthoai
        {
            get { return _sodienthoai; }
            set { _sodienthoai = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public int Loaikhachhang
        {
            get { return _loaikhachhang; }
            set { _loaikhachhang = value; }
        }

        public string Masothue
        {
            get { return _masothue; }
            set { _masothue = value; }
        }

        public string Ghichu
        {
            get { return _ghichu; }
            set { _ghichu = value; }
        }

        public int Trangthai
        {
            get { return _trangthai; }
            set { _trangthai = value; }
        }

        public DateTime Ngaylap
        {
            get { return _ngaylap; }
            set { _ngaylap = value; }
        }

        public int Phai
        {
            get { return _phai; }
            set { _phai = value; }
        }
        
        #endregion

        //#region khoi tao khong tham so

        //public KhachHangDTO()
        //{
        //    _makhachhang = "";
        //    _tenkhachhang = "";
        //    _diachi = "";
        //    _sodienthoai = "";
        //    _email = "";
        //    _loaikhachhang = 0;
        //    _masothue = "";
        //    _ghichu = "";
        //    _trangthai = 0;
        //    _ngaylap = DateTime.Now;
        //    _phai = 0;
        //}

        //#endregion

        //#region khoi tao co tham so

        //public KhachHangDTO(string makhachhang, string tenkhachhang, string diachi, string sodienthoai, string email, int loaikhachhang, string masothue, string ghichu, int trangthai, DateTime ngaylap, int phai)
        //{
        //    _makhachhang = makhachhang;
        //    _tenkhachhang = tenkhachhang;
        //    _diachi = diachi;
        //    _sodienthoai = sodienthoai;
        //    _email = email;
        //    _loaikhachhang = loaikhachhang;
        //    _masothue = masothue;
        //    _ghichu = ghichu;
        //    _trangthai=trangthai;
        //    _ngaylap = ngaylap;
        //    _phai = phai;
        //}

        //#endregion

        //#region khoi tao sao chep

        //public KhachHangDTO(KhachHangDTO kh)
        //{
        //    _makhachhang = kh._makhachhang;
        //    _tenkhachhang = kh._tenkhachhang;
        //    _diachi = kh._diachi;
        //    _sodienthoai = kh._sodienthoai;
        //    _email = kh._email;
        //    _loaikhachhang = kh._loaikhachhang;
        //    _masothue = kh._masothue;
        //    _ghichu = kh._ghichu;
        //    _trangthai = kh._trangthai;
        //    _ngaylap = kh._ngaylap;
        //    _phai = kh._phai;

        //}

        //#endregion
    }
}
